using System;

namespace ActivUFRJ.Classes.Geral
{
    public class DBFormatoArtefato : Connection.MySQL
    {
        public DBFormatoArtefato() : base(ref Connection.DBConnection.myConnection)
        {

        }

        internal System.Data.DataTable GetListaFormatosDT()
        {
            try
            {
                string SQL = "SELECT * from artefato_formatos";

                this.SetSQL(SQL);

                this.SetSQL(SQL);
                return this.ReturnTable();
            }
            catch (Exception ex)
            {
                return null;
            }
        }
    }
}
